package com.kinglone.back.role.model;

import java.util.ArrayList;
import java.util.List;

import com.kinglone.back.user.model.User;

/**
 * 角色实体
 * @author Administrator
 *
 */
public class Role {

	private String id;
	private String roleName;//角色名称
	private String roleDesc;//角色描述
	
	private List<User> users = new ArrayList<User>();
	
	public Role() {
	}

	public Role(String id, String roleName, String roleDesc, List<User> users) {
		super();
		this.id = id;
		this.roleName = roleName;
		this.roleDesc = roleDesc;
		this.users = users;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getRoleName() {
		return roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}

	public String getRoleDesc() {
		return roleDesc;
	}

	public void setRoleDesc(String roleDesc) {
		this.roleDesc = roleDesc;
	}

	public List<User> getUsers() {
		return users;
	}

	public void setUsers(List<User> users) {
		this.users = users;
	}
	
	
	
	
}
